home *** CD-ROM | disk | FTP | other *** search
/ Programming Languages Suite / ProgramD2.iso / Visual Database / Visual Foxpro 6.0 (Ent. Edition) / Vf6ent Extractor.EXE / TOOLS / XSOURCE / XSOURCE.ZIP / vfpsource / wizards / Wztable / wztable.h < prev    next >
Encoding:
Text File  |  1998-05-01  |  6.4 KB  |  139 lines

  1. *- #INCLUDE file for the table wizard.
  2.  
  3. #define MESSAGE_LOC "Microsoft Visual FoxPro Wizards"
  4. #DEFINE STEP1_LOC    "Step 1 - Select Fields"
  5. #DEFINE STEP1a_LOC    "Step 1a - Select a Database"
  6. #DEFINE STEP2_LOC    "Step 2 - Modify Field Settings"
  7. #DEFINE STEP3_LOC    "Step 3 - Index the Table"
  8. #DEFINE STEP3a_LOC    "Step 3a - Set up relationships"
  9. #DEFINE FINISH_LOC    "Step 4 - Finish"
  10.  
  11. #DEFINE DESC1_LOC    "Which fields do you want in your new table? You can choose any " +;
  12.                     "combination of fields from the sample tables." +CHR(13)+CHR(13)+;
  13.                     "Select a table to see available fields, and then select the fields. "+;
  14.                     "If you want to use a different sample table, click Add."
  15.  
  16. #DEFINE DESC1A_LOC    "You can select a database in which to add your new table." +CHR(13)+CHR(13)+;
  17.                     "Also you can optionally choose a friendly name for your table. "
  18.  
  19. #DEFINE DESC2_LOC    "Do you want to change any field settings?" +CHR(13)+CHR(13)+;
  20.                     "Select each field to verify or change its setting. You can "+;
  21.                     "change a field caption only if a database is open."
  22.                     
  23. #DEFINE DESC3_LOC    "How do you want to index your table?" +CHR(13)+CHR(13)+;
  24.                     "If a database is open, you may select one "+;
  25.                     "field as the primary index key." +CHR(13)+CHR(13)+;
  26.                     "Select check boxes to create additional indexes."
  27.  
  28. #DEFINE DESC3a_LOC    "You can set up relationships between your new table and existing ones in the database." 
  29.  
  30. #DEFINE FINISH1_LOC    "You are ready to create your table." 
  31. #DEFINE FINISH2_LOC    "Select an option below, and click Finish to create the table."
  32.  
  33. #DEFINE BMPFILE1    "TABLE1.BMP"
  34. #DEFINE BMPFILE1a    "TABLE1a.BMP"
  35. #DEFINE BMPFILE2    "TABLE2.BMP"
  36. #DEFINE BMPFILE3    "TABLE3.BMP"
  37. #DEFINE BMPFILE3a    "REL1.BMP"
  38. #DEFINE BMPFILE4    "FLAG.BMP"
  39.  
  40. #DEFINE REL1_BMP    "rel1.bmp"
  41. #DEFINE REL2_BMP    "rel2.bmp"
  42. #DEFINE REL3_BMP    "rel3.bmp"
  43.  
  44. *- help codes
  45. #DEFINE HELP_wizTable_Wizard_Step_1        1999935411
  46. #DEFINE HELP_wizTable_Wizard_Step_1a    1999935415
  47. #DEFINE HELP_wizTable_Wizard_Step_2        1999935412
  48. #DEFINE HELP_wizTable_Wizard_Step_3        1999935413
  49. #DEFINE HELP_wizTable_Wizard_Step_3a    1999935416
  50. #DEFINE HELP_wizTable_Wizard_Step_4        1999935414
  51. #DEFINE HELP_wizTable_Wizard            1999935410
  52.  
  53. #DEFINE DTYPE1_LOC    "Character"
  54. #DEFINE DTYPE2_LOC    "Currency"
  55. #DEFINE DTYPE3_LOC    "Numeric"
  56. #DEFINE DTYPE4_LOC    "Float"
  57. #DEFINE DTYPE5_LOC    "Date"
  58. #DEFINE DTYPE6_LOC    "DateTime"
  59. #DEFINE DTYPE7_LOC    "Double"
  60. #DEFINE DTYPE8_LOC    "Integer"
  61. #DEFINE DTYPE9_LOC    "Logical"
  62. #DEFINE DTYPE10_LOC    "Memo"
  63. #DEFINE DTYPE11_LOC    "General"
  64. #DEFINE DTYPE12_LOC    "Character (binary)"
  65. #DEFINE DTYPE13_LOC    "Memo (binary)"
  66.  
  67. #DEFINE C_TBLEXT            "DBF"
  68.  
  69. #DEFINE C_MAXFIELDS            255
  70. #DEFINE C_TOOMANYFLDS_LOC    "Tables may have up to " + LTRIM(STR(C_MAXFIELDS)) + " fields. Your table currently has: "
  71. #DEFINE C_TBLERR_LOC        "Unable to create this table:"
  72. #DEFINE C_IDXERR_LOC        "Unable to create the table and indexes."
  73.  
  74. #DEFINE C_BADCHARS_LOC        "The filename that you entered contains the following invalid character(s):"
  75. #DEFINE C_TABLENAME_LOC        "Enter Table Name:"
  76. #DEFINE C_TBLOVER_LOC        "already exists. Do you want to overwrite it?"
  77. #DEFINE C_BADOPEN_LOC        "is in use or is read-only. Enter a different name."
  78. #DEFINE C_BADFLD_LOC        "Field names must begin with a letter and can include A-Z, 0-9, and _. The name entered " + ;
  79.                             "contains the following invalid character(s):"
  80. #DEFINE C_RESETINDEXKEY_LOC    "Memo and General fields cannot be index keys. " + ;
  81.                             "This field will not be used as an index key"
  82.                 
  83. #DEFINE C_ADDTOLIST_LOC        "Add to list"                && prompt for GetFile() dialog for adding tables to list
  84. #DEFINE C_ADDBUTTON_LOC        "Add"                        && text of button on GetFile() dialog for adding tables to list
  85. #DEFINE C_CREATEDBC_LOC        "No database is open. Would you like to create a new database, and add the table to it? Captions can only be changed if the table belongs to a database."
  86. #DEFINE C_DBCNAME_LOC        "DBC name:"
  87. #DEFINE C_DEFDBCNAME_LOC    "Untitled.DBC"
  88. #DEFINE C_TOOMANYSAME_LOC    "Too many fields have a similar name. Field will be skipped."
  89. #DEFINE C_DUPENAME_LOC         "Duplicate field name."
  90. #DEFINE C_BLANKNAME_LOC     "Please provide a field name."
  91. #DEFINE C_NEWTABLENAME_LOC    "The table name has been changed due to a duplicate name in the database. The new name will be "
  92.  
  93.  
  94. #DEFINE C_NEWTAG_LOC        "<New field>"
  95.  
  96. #DEFINE C_ISREL_LOC            "Is related to "
  97. #DEFINE C_ISNOTREL_LOC        "Is not related to "
  98.  
  99. #DEFINE C_NOACTION_LOC        "The Wizard won't create a relationship."
  100. #DEFINE C_1MANYRELATION_LOC    "The Wizard will create a relationship between the @1 field in your new @2 table and the field you choose in the list to the right."
  101. #DEFINE C_MANY1RELATION_LOC    "The Wizard will create a relationship between the @1 field in the @2 table and the field you choose in the list to the right."    
  102.  
  103.  
  104. #DEFINE ILLEGALCHAR_LOC        "Field names may contain alpha-numeric characters, and _, and must begin with a letter."
  105.  
  106. #DEFINE C_DUPEMSG_LOC        "A field with this name has already been selected."
  107.  
  108. #DEFINE MB_OK                    0
  109. #DEFINE MB_YESNO                4
  110. #DEFINE MB_ICONQUESTION            32
  111. #DEFINE MB_ICONEXCLAMATION      48
  112. #DEFINE MB_RET_YES                6
  113.  
  114. #DEFINE C_TBLINDBC1_LOC        " is a member of the currently open database ("
  115. #DEFINE C_TBLINDBC2_LOC        "). If you overwrite it, any associated database information (such as persistent " + ;
  116.                             "relations, field captions, or rules) will be lost."
  117. #DEFINE C_TBLINDBC3_LOC        "Do you want to overwrite it?"
  118.  
  119. #DEFINE C_OTHERDBC1_LOC        " is a member of this database: "
  120. #DEFINE C_OTHERDBC2_LOC        ". You must open this database before you can overwrite any tables in it."
  121.  
  122. #DEFINE C_NOWRITE_LOC        "), which is open SHARED. The database must be opened EXCLUSIVE before you can " + ;
  123.                             "overwrite any tables in it."
  124.  
  125. #DEFINE C_DBEXCL_LOC        "The current database must be opened EXCLUSIVE for the new table to be added to it. " 
  126.                             "A free table will be created instead. Do you want to continue?"
  127. #DEFINE C_DBEXCL2_LOC        " must be opened EXCLUSIVE before new tables can be added to it. " 
  128.                             
  129.                             
  130. #DEFINE C_OTHERTBL1_LOC        "The current database already has a table named "
  131. #DEFINE C_OTHERTBL2_LOC        "Please use another name."
  132.  
  133. #DEFINE C_ADDING_LOC        "Adding "
  134.  
  135. #DEFINE C_TOOMANYCHARS_LOC  "This fieldname has too many characters. The maximum length is 10 Bytes. (128 bytes for a DBC)"
  136.  
  137. #DEFINE E_NOOPENFILE_LOC    "Unable to open the table "
  138. #DEFINE E_TOOMANYCOL_LOC    "The maximum number of fields if null values are allowed is 254. Please remove a column if you would like to use null values."
  139.